import 'package:flutter/material.dart';
import 'package:flutter_learn_demo/define/define_button.dart';

class ButtonsCase extends StatefulWidget {

  const ButtonsCase({super.key});

  @override
  State createState() => ButtonsCaseState();

}

class ButtonsCaseState extends State<ButtonsCase> {

   @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
      return Scaffold(
        appBar: AppBar(
          title: const Text('Buttons Case',style: TextStyle(color: Colors.pink),),
          backgroundColor: Colors.yellow,
        ),
        body: Column(children: [
           DefineButton(
               margin: const EdgeInsets.only(top: 10,left: 10,right: 10),
               height: 60,
               radius: BorderRadius.circular(10),
               tapCallback: (){},
               colors: const [Colors.blue,Colors.blueAccent,Colors.lightBlue],
               child: const Text('data',style: TextStyle(color: Colors.black),),
           )
        ],),
      );
  }
}